
include $(ACM_ROOT)/src/common_lib_macro.mk

LOCAL_CPPFLAGS = \
  $(COMMON_LIB_CPPFLAGS) \
  -I $(ACM_ROOT)/src/utils/include

LINK_FLAGS = -L$(LIBDIR) -ldb_cxx -lpthread

BINS = bdb_test 
all: $(BINS) 
.PHONY: all

CPP_SRC = \
	bdb_test.cpp

CPP_OBJS = $(CPP_SRC:.cpp=.o)

bdb_test: bdb_test.o 
	$(CCC) -o $@ $^ $(LINK_FLAGS) 

.PHONY: clean
clean:
	$(RM) $(CPP_OBJS) $(BINS)

ifneq ($(MAKECMDGOALS),clean)
-include $(CPP_SRC:.cpp=.d)
endif
